import baseApiServer from '@/utils/apiServer'

export const createFile = new baseApiServer('/resource/v1/matter/create')

export const fileDone = new baseApiServer('/resource/v1/matter/create')

export const login = new baseApiServer('/admin/v1/login')

export const getCompanyList = new baseApiServer('/admin/v1/company/list')

export const addCompany = new baseApiServer('/admin/v1/company/add')

export const editCompany = new baseApiServer('/admin/v1/company/update')

export const delCompany = new baseApiServer('/admin/v1/company/delete')

export const getGameList = new baseApiServer('/admin/v1/game/list')

export const addGame = new baseApiServer('/admin/v1/game/add')

export const editGame = new baseApiServer('/admin/v1/game/update')

export const delGame = new baseApiServer('/admin/v1/game/delete')

export const getUserList = new baseApiServer('/admin/v1/user/list')

export const addUserGold = new baseApiServer('/admin/v1/user/change_gold')

export const markUser = new baseApiServer('/admin/v1/user/set_status')

export const offlineUser = new baseApiServer('/admin/v1/user/offline')

export const depositRecord = new baseApiServer('/admin/v1/recharge/list')

export const withdrawRecord = new baseApiServer('/admin/v1/withdraw/list')

export const withdrawAudit = new baseApiServer('/admin/v1/withdraw/update')

export const getGlobalFundSet = new baseApiServer('/admin/v1/global')

export const editGlobalFundSet = new baseApiServer('/admin/v1/global/update')

export const getDepositConfig = new baseApiServer('/admin/v1/recharge/config')

export const addDepositConfig = new baseApiServer('/admin/v1/recharge/config/add')

export const editDepositConfig = new baseApiServer('/admin/v1/recharge/config/update')

export const delDepositConfig = new baseApiServer('/admin/v1/recharge/config/delete')

export const getSpinConfig = new baseApiServer('/admin/v1/activity/spin')

export const addSpinConfig = new baseApiServer('/admin/v1/activity/spin/add')

export const editSpinConfig = new baseApiServer('/admin/v1/activity/spin/update')

export const getFirstDepositConfig = new baseApiServer('/admin/v1/activity/first_recharge')

export const addFirstDepositConfig = new baseApiServer('/admin/v1/activity/first_recharge/add')

export const editFirstDepositConfig = new baseApiServer('/admin/v1/activity/first_recharge/update')

export const getInviteConfig = new baseApiServer('/admin/v1/activity/invite')

export const editInviteConfig = new baseApiServer('/admin/v1/activity/invite/update')

export const getMsg = new baseApiServer('/admin/v1/notice/list')

export const addMsg = new baseApiServer('/admin/v1/notice/add')

export const editMsg = new baseApiServer('/admin/v1/notice/update')

export const delMsg = new baseApiServer('/admin/v1/notice/delete')

export const getCheckConfig = new baseApiServer('/admin/v1/activity/sign')

export const editCheckConfig = new baseApiServer("/admin/v1/activity/sign/update")

export const getUserFlow = new baseApiServer("/admin/v1/gold/record")

export const getTotalData = new baseApiServer("/admin/v1/data/total")

export const getDataReport = new baseApiServer("/admin/v1/data/report")

export const getSMSList = new baseApiServer("/admin/v1/sms/list")

export const updateSMS = new baseApiServer('/admin/v1/sms/update')

export const getWarningConfig = new baseApiServer("/admin/v1/warning")

export const updateWarningConfig = new baseApiServer("/admin/v1/warning/update")

export const getUserInfo = new baseApiServer('/admin/v1/user/info')
export const online_list = new baseApiServer('/admin/v1/user/online_list')
/**获取库存 */
export const getGameStock = new baseApiServer('/admin/v1/game_stock')
/**修改游戏库存 */
export const setGameStock = new baseApiServer('/admin/v1/game_stock/update')
/**游戏配置 */
export const getGameCtl = new baseApiServer('/admin/v1/game/control');
/**更新游戏配置 */
export const setGameCtl = new baseApiServer('/admin/v1/game/control/update');
/**用户点杀操作 */
export const setUserCtl = new baseApiServer('/admin/v1/game/user_control/update');
/**获取用户点数配置 */
export const getUserCtl = new baseApiServer('/admin/v1/game/user_control');
export const getGameListLog = new baseApiServer('/admin/v1/game/statistics');


// /admin/v1/game_stock_records
// 获取全部游戏库存图表
export const getGameStockRecords = new baseApiServer('/admin/v1/game_stock_records');

// 获取游戏类型排序
export const getGameTypeSort = new baseApiServer('/admin/v1/game/get_game_type_sort');
// 设置游戏类型排序
export const setGameTypeSort = new baseApiServer('/admin/v1/game/set_game_type_sort');
export const setGamejson = new baseApiServer('/admin/v1/user/gamejson_conf');
export const readsetGamejson = new baseApiServer('/admin/v1/user/update_gamejson_conf');
export const setGamePoint = new baseApiServer('/admin/v1/user/change_point');
export const setcreateCode = new baseApiServer('/admin/v1/activity/exchange/create');

export const getCodeList = new baseApiServer('/admin/v1/activity/exchange/get_list');
export const delExchangeCode = new baseApiServer('/admin/v1/activity/exchange/del');
export const setInvalid = new baseApiServer('/admin/v1/activity/exchange/invalid');
export const fixCfg_get = new baseApiServer('/admin/v1/game/compensate');
export const fixCfg_save = new baseApiServer('/admin/v1/game/compensate/update');
export const SubAdmin_list = new baseApiServer('/admin/v1/user/get_allagent');
export const SubAdmin_del = new baseApiServer('/admin/v1/user/del_agent');
export const SubAdmin_add = new baseApiServer('/admin/v1/user/add_agent');
export const SubAdmin_changepwd = new baseApiServer('/admin/v1/user/changepwd_agent');

export const add_phonecode = new baseApiServer('/admin/v1/sms/add_phonecode');
export const get_phonecodelist = new baseApiServer('/admin/v1/sms/get_phonecodelist');

// 用户监控
export const get_user_monitor = new baseApiServer('/admin/v1/agentt/monitoruser/all');
// 用户监控 添加
export const add_user_monitor = new baseApiServer('/admin/v1/agentt/monitoruser/add');
// 用户监控 删除
export const del_user_monitor = new baseApiServer('/admin/v1/agentt/monitoruser/del');
// 用户监控 删除
export const get_userlog_list = new baseApiServer('/admin/v1/control/record');